package com.source.barcodeMachineGrantAndRecovery.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author Feng
 * @since 2021-02-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("脚标机回收记录")
public class BarcodeMachineRevoke implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "脚标机回收ID")
    @TableId(value = "revokeId", type = IdType.AUTO)
    private Integer revokeId;

    @ApiModelProperty(value = "押金退回")
    private Double deposit;

//    @ApiModelProperty(value = "脚标机ID")
//    @TableField("barcodeMachineId")
//    private String barcodeMachineId;

    @ApiModelProperty(value = "脚标机编号")
    @TableField("barcodeMachineNumber")
    private String barcodeMachineNumber;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createDate", fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "回收时间")
    @TableField("revokeDate")
    private Date revokeDate;

    @ApiModelProperty(value = "回收人员id")
    @TableField("revokePersonId")
    private String revokePersonId;

    @ApiModelProperty(value = "送回人员id")
    @TableField("returnPersonId")
    private String returnPersonId;

    @ApiModelProperty(value = "回收档口编号")
    @TableField("stallsId")
    private Integer stallsId;

    @ApiModelProperty(value = "脚标机状态（0正常 1故障）")
    private Integer status;

    @ApiModelProperty(value = "维修备注")
    private String msg;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("isDelete")
    @TableLogic
    private Boolean isDelete;


}
